<?php
defined('_JEXEC') or die('Restricted access');

jimport('joomla.application.component.view');

class DocarioViewUsersjson extends JView {
    function display($tpl=null) {
        $model = $this->getModel('group');
        
        $users = $model->getJUsers(JRequest::getVar('search'));
        $cid = JRequest::getVar('cid');
        
        $this->assignRef('cid', $cid);
        $this->assignRef('users', $users);
        parent::display($tpl);
    }
}
